package com.sztx.pay.center.rpc.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sztx.pay.center.dataaccess.dao.hbase.DumpOrderHbaseDAO;
import com.sztx.pay.center.rpc.api.service.HbaseTestQueryService;
import com.sztx.se.core.service.impl.BaseServiceImpl;

@Service
public class HbaseTestQueryServiceImpl extends BaseServiceImpl implements HbaseTestQueryService {
	
	@Autowired
	private DumpOrderHbaseDAO dumpOrderHbaseDAO;
	
	@Override
	public List<String> testQueryOrderList(String startTime, String endTime, Integer orderType) {
		return dumpOrderHbaseDAO.scanDumpOrder(startTime, endTime, orderType);
	}

	@Override
	public List<String> testUserActFlowList(String startTime, String endTime, String userId) {
		return dumpOrderHbaseDAO.scanActFlow(startTime, endTime, userId);
	}

}
